package com.chezhujie.www.domain;

import com.sys.core.init.mysql.BaseEntity;
import com.sys.core.init.mysql.annotation.Column;
import com.sys.core.init.mysql.annotation.Entity;
import com.sys.core.init.mysql.annotation.Id;
import com.sys.core.init.mysql.annotation.Table;

import java.util.Date;

/**
 * 用户评论点赞
 * Created by 汤伟杰 on 2017/5/27.
 */
@Entity
@Table(name = "czj_like",describe = "用户评论点赞")
public class Czjlike extends BaseEntity {
    @Id
    @Column(describe = "点赞主键",length = 19,inputType = "hidden")
    private String likeId;
    @Column(describe = "评论",length = 19,inputType = "select",inputCode = "str")
    private String commentsId;
    @Column(describe = "是否点赞",length = 1,inputType = "switch",inputCode = "yesorno")
    private Integer yesorno;
    @Column(describe = "用户",length = 11,inputType = "select",inputCode = "int")
    private Integer userinfoId;
    @Column(describe = "创建时间",inputType = "date")
    private Date createtime;
    private Date createtimeStart;
    private Date createtimeEnd;
    @Column(describe = "最后更新时间",inputType = "date")
    private Date updatetime;
    private Date updatetimeStart;
    private Date updatetimeEnd;


    public String getLikeId() {
        return likeId;
    }

    public void setLikeId(String likeId) {
        this.likeId = likeId;
    }

    public String getCommentsId() {
        return commentsId;
    }

    public void setCommentsId(String commentsId) {
        this.commentsId = commentsId;
    }

    public Integer getYesorno() {
        return yesorno;
    }

    public void setYesorno(Integer yesorno) {
        this.yesorno = yesorno;
    }

    public Integer getUserinfoId() {
        return userinfoId;
    }

    public void setUserinfoId(Integer userinfoId) {
        this.userinfoId = userinfoId;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getCreatetimeStart() {
        return createtimeStart;
    }

    public void setCreatetimeStart(Date createtimeStart) {
        this.createtimeStart = createtimeStart;
    }

    public Date getCreatetimeEnd() {
        return createtimeEnd;
    }

    public void setCreatetimeEnd(Date createtimeEnd) {
        this.createtimeEnd = createtimeEnd;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    public Date getUpdatetimeStart() {
        return updatetimeStart;
    }

    public void setUpdatetimeStart(Date updatetimeStart) {
        this.updatetimeStart = updatetimeStart;
    }

    public Date getUpdatetimeEnd() {
        return updatetimeEnd;
    }

    public void setUpdatetimeEnd(Date updatetimeEnd) {
        this.updatetimeEnd = updatetimeEnd;
    }
}
